package com.lin.forum.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
@Data
@Schema(description ="版块表")
public class Board {
    @Schema(description ="版块编号，主键，⾃增")
    private Long id;
    @Schema(description ="版块名，⾮空")
    private String name;
    @Schema(description ="帖⼦数量，默认0")
    private Integer articleCount;
    @Schema(description ="排序优先级，升序，默认0")
    private Integer sort;
    @Schema(description ="状态，0 正常，1禁⽤，默认0")
    private Byte state;
    @Schema(description ="是否删除 0否，1是，默认0")
    private Byte deleteState;
    @Schema(description ="创建时间，自动记录插入时间")
    private Date createTime;
    @Schema(description ="修改时间，自动更新")
    private Date updateTime;


}